@import './reset.less';

header{
    .wrap{
        height: 60px;
        width: 95%;
        display: flex;
        justify-content: space-between;
        line-height: 60px;
        
        h1{
            width: 220px;
            color: white;
            background-color: #e9967a;
        }
        .user{
             flex: 1;
             display: flex;
             justify-content: flex-end;
             div{
                 margin-right: 20px;
                 
                 span{
                    font-size: 20px;
                 }
             }
        }
    }
}
.content{
    display: flex;
    .mune-btn{
        display: none;
        a{
            display: block;
            height: 100%;
            span{
                font-size: 30px;
            }
        }
    }
    aside{
        width: 220px;
        .mune{
          .mune-item{
              margin: 20px 0;
              line-height: 30px;
              font-size: 18px;
              font-weight: 600;
              padding-left: 40px;
              &:hover .title{
                  color: #e8e46d;
              }
              .mune-item-mune{
                  font-size: 16px;
                  li{
                      a{
                          display: inline-block;
                          padding-left: 20px;
                          padding-right: 10px;
                      }
                    &:hover a{
                        background-color: #e9967a;
                    }
                  }
              }
          }  
        }
    }
    .main{
        flex: 1;
        background-color: #f5f5f5;
        .manage{
            border-bottom: 1px solid #aaa;
            line-height: 40px;
            height: 40px;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            .handle{
                width: 70px;
                a{
                    display: block;
                    width: 100%;
                    height: 100%;
                }
            }
        }
        .message{
            padding: 20px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            a{
                width: 22%;
                margin-bottom: 20px;
                .radius(10px);
                height: 125px;
                overflow: hidden;
                background-color: #e9967a;
                color: white;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                .wrap{
                    height: 100%;
                    padding: 10px;
                    display: flex;
                flex-direction: column;
                justify-content: space-between;
                   
                    .pri{
                        font-size: 30px;
                    }
                    .new-order{
                        font-size: 17px;
                        // font-weight: ;
                    }
                }
                .describe{
                        text-align: center;
                        font-size: 13px;
                        background-color: #d1876e;
                        line-height: 30px;
                }
            }
        }
    }
}
@media screen and (min-width:992px){
}
@media screen and (min-width:768px) and (max-width:992px){
    .content{
        .main{
            .message{
                a{
                    width: 48%;
                }
            }
        }
    }
}
@media screen and (max-width:768px){
    header{
        .wrap{
            
            h1{
                display: none;
            }
            .user{
                .logout{
                    display: none;
                }
            }
        }
    }
    .content{
        aside{
            display: none;
            .mune{
                .mune-item{
                    .mune-item-mune{
                        display: none;
                    }
                }
            }
        }
        .mune-btn{
            position: absolute;
            top: 15px;
            left: 20px;
            display: block;
            margin-left: 20px;
            &:hover + aside{
                width: 100%;
                display: block;
                position: absolute;
                left: 0;
                text-align: center;
                background-color: #fff;
            }
        }
        .main{
            .message{
                a{
                    width: 100%;
                }
            }
        }
    }
}